
<template>
	<view class="help" style="height: 100%;
	display: flex;
	flex-direction: column;
	background-color: #009EF0;
	background: url('../../../static/image/background1.png') no-repeat center;
	background-size: cover;">
		<view class="title">
			<text>关于</text>
		</view>
		<view class="logoimg">
			<image :src="logoimg" class="image"></image>
		</view>
		<view class="bottomInfo">
			<view class="item">
				<text>基本信息</text>
				<text style="color: #007AFF;">{{appName}}预警系统平台</text>
			</view>
			<view class="item">
				<text>版本号</text>
				<text style="color: #007AFF;">v-{{current_version}}</text>
			</view>
			<view class="item">
				<text>版权所有</text>
				<text style="color: #007AFF;">九寨沟管理局</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				logoimg:require("../../../static/image/logo.png"),
				appName:"",
				current_version:""
			};
		},
		methods: {},
		mounted() {
			let _this=this
			plus.runtime.getProperty(plus.runtime.appid, function(info) {
				console.log(info)
				_this.current_version = info.version
				_this.appName = info.name
			});
		}
	};
</script>

<style scoped>
	uni-page-body {
		height: 100%;
	}

	.title {
		padding: 15px;
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		box-sizing: border-box;
		color: #fff;
	}
	.logoimg{
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 60rpx auto;
	}
	.image{
		width: 384rpx;
		height: 384rpx;
		box-shadow: 0px 5px 8px #F1F1F1;
	}
	.bottomInfo{
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		padding:0 40rpx;
		box-sizing: border-box;
	}
	.item{
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		padding: 20rpx 0;
		border-bottom: 1px solid #F1F1F1;
		color: #eee;
		font-size: 24rpx;
	}
</style>
